﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta content="webkit" name="renderer" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="keywords" content="PoweredByJeeSiteV4.0" />
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta name="description" content="PoweredByJeeSiteV4.0" />
    <meta content="no-cache" http-equiv="Pragma" />
    <meta http-equiv="Expires" content="0" />
    <meta content="width=device-width, initial-scale=1, user-scalable=1" name="viewport" />
    <title>CCOA</title>
    <!--<script src="/js/static/jquery/jquery-1.12.4.min.js"></script>
    <script src="/js/static/jquery/jquery-migrate-1.4.1.min.js"></script>-->
    <script src="./static/jquery/jquery-1.12.4.min.js" type="text/javascript"></script>
    <script src="./static/jquery/jquery-migrate-1.4.1.min.js" type="text/javascript"></script>
    <script src="./static/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <script src="./static/select2/4.0/select2.js?V4.1-03261504" type="text/javascript"></script>
    <script src="./static/select2/4.0/i18n/zh_CN.js?V4.1-03261504" type="text/javascript"></script>
    <script src="./static/layer/3.1/layer.js?V4.1-03261504" type="text/javascript"></script>
    <script src="./static/my97/WdatePicker.js?V4.1-03261504" type="text/javascript"></script>
    <script src="./static/wdScrollTab/js/TabPanel.js?V4.1-03261504" type="text/javascript"></script>
    <script src="./static/wdScrollTab/js/TabPanel.extend.js?V4.1-03261504" type="text/javascript"></script>
    <script src="./static/common/jeesite.js?V4.1-03261504" type="text/javascript"></script>
    <script src="./static/common/i18n/jeesite_zh_CN.js?V4.1-03261504" type="text/javascript"></script>
    <script src="./static/common/common.js?V4.1-03261504" type="text/javascript"></script>
    <script src="./static/jquery-toastr/2.0/toastr.min.js?V4.1-03261504" type="text/javascript"></script>
    <script src="./static/jquery-plugins/jquery.slimscroll.js" type="text/javascript"></script>
    <script src="./static/modules/sys/sysIndex.js?V4.1-03261504" type="text/javascript"></script>
    <link href="./static/fonts/font-icons.min.css" rel="stylesheet" type="text/css" />
    <link href="./static/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="./static/select2/4.0/select2.css" rel="stylesheet" type="text/css" />
    <link href="./static/icheck/1.0/minimal/grey.css" rel="stylesheet" type="text/css" />
    <link href="./static/adminlte/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
    <link href="./static/adminlte/css/skins/skin-blue-light.css" rel="stylesheet" type="text/css" />
    <link href="./static/modules/sys/sysIndex.css" rel="stylesheet" type="text/css" />
    <link href="./static/jquery-toastr/2.0/toastr.min.css" rel="stylesheet" type="text/css" />
    <link href="./static/common/jeesite.css" rel="stylesheet" type="text/css" />
    <link href="./static/wdScrollTab/css/TabPanel.css" rel="stylesheet" type="text/css" />
    <script src="../WF/Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../WF/Scripts/config.js" type="text/javascript"></script>
    <script src="../WF/Comm/Gener.js" type="text/javascript"></script>
    <script src="config.js" type="text/javascript"></script>
    <script src="../GPM/API.js"></script>
    <script src="GPMMenus.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        //页面启动函数.
        $(function () {

            var webUser = new WebUser();
            if (webUser.No == "") {
                window.location.href = "Login.htm";
                return;
            }

            $("#UserName").append(webUser.Name);
            //  $("#userImg").src = "../DataUser/UserIcon/" + webUser.No + "Smaller.png";


            //赋值系统名称.
            document.title = appName;
            $("#myTitle").append(appNameOfSmaller);


            $("#appNameOfSmall").html(appNameOfSmall);
            $("#appNameOfSmaller").html(appNameOfSmaller);

            if (webUser.No == "admin") {
                $("#exitBar").before("<li><a href='../WF/Admin/CCBPMDesigner/Default.htm' ><i class='icon-fire'></i>后台</a></li>");
            }

            //初始化菜单.
            InitLeftMenuComm();

            var handler = new HttpHandler("BP.WF.HttpHandler.WF_AppClassic");
            var data = handler.DoMethodReturnString("Home_Init");

            if (data.indexOf('err@') == 0) {
                alert(data);
                return;
            }

            data = JSON.parse(data);

            //调用公共类库的方法:执行批量主表赋值
            GenerFullAllCtrlsVal(data);

            //Tab页中增加主页面
            //AddTab("散货", "/SanHuo/PrjList.htm");
            // js.addTabPage($("#mainPage"), "散货", "/SanHuo/PrjList.htm");
            // js.addTabPage($("#mainPage"), "主页", "/Portal/Welcome.htm");
            // js.addTabPage($("#mainPage"), "主页", "/Portal/Welcome.htm");
            // js.addTabPage($("#mainPage"), "主页", "/Portal/Welcome.htm");

            return;
        });

        //增加一个标签.
        function AddTab(title, url) {
            js.addTabPage($("#mainPage"), title, url);
        }

    </script>
    <!--<link rel="stylesheet" href="/js/static/common/common.css?V4.1-03261504">-->
</head>
<body class="hold-transition fixed noscroll2 sidebar-mini ">
    <div class="wrapper">
        <header class="main-header">
            <nav class="navbar navbar-static-top">
                <div class="logo" data-toggle="push-menu">
                    <b>驰骋OA</b>
                    <small>&nbsp; &nbsp;<i class="fa fa-bars"></i></small>
                </div>

                <div class="navbar-custom-menu">
                    <ul class="nav navbar-nav">

                        <li><a id="mainPage" class='addTabPage' data-href="/Portal/Welcome.htm" data-tab-id="welcome" target='IFRAME' title="主页" style="margin-top:-1px;"><i class="fa fa-home">主页</i></a></li>
                        <li><a id="A1" class='addTabPage' data-href="/WF/Todolist.htm?GroupBy=ByDept" data-tab-id="todolist" target='IFRAME' title="待办" style="margin-top:-1px;"><i class="fa fa-home">待办</i></a></li>
                        <!--<li><a id="A2" class='addTabPage' data-href="/WF/Comm/Search.htm?EnsName=BP.TGK.Customers" data-tab-id="Customers" target='IFRAME' title="客户" style="margin-top:-1px;"><i class="fa fa-home">客户</i></a></li>-->
                        <!--<li><a id="A3" class='addTabPage' data-href="/SanHuo/PrjList.htm" data-tab-id="Prjs" target='IFRAME' title="项目" style="margin-top:-1px;"><i class="fa fa-home">项目</i></a></li>-->
                        <!--	<li><a href="javascript:" id="fullScreen" title="全屏"><i class="fa fa-arrows-alt"></i></a></li>
                        <li><a href="javascript:" id="switchSkin" title="切换主题" style="margin-top:-1px;"><i class="fa fa-dashboard"></i></a></li>-->

                        <li class="dropdown user-menu mr5">
                            <a href="javascript:" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" aria-expanded="false">
                                <img class="user-image" src="../DataUser/UserIcon/DefaultSmaller.png" id="userImg">
                                <span class="hidden-xs" id="UserName"></span>
                            </a>
                            <ul class="dropdown-menu">
                                <!--<li class="mt5">
                                            <a id="userInfo" href="javascript:" data-href="/js/a/sys/user/info" class="addTabPage">
                                            <i class="fa fa-user"></i> 个人中心</a>
                                        </li>
                                -->
                                <!--<li>
                                    <a id="modifyPassword" href="javascript:" data-href="/js/a/sys/user/info?op=pwd" class="addTabPage">
                                    <i class="fa fa-key"></i> 修改密码</a>
                                </li>-->
                                <!--<li class="divider"></li>-->

                                <li>
                                    <a href="Login.htm?DoType=logout">
                                        <i class="fa fa-sign-out"></i> 退出登录
                                    </a>
                                </li>
                                <!--<li class="divider"></li>
                                <li class="dropdown-header mb5">系统切换：</li>
                                    <li>
                                        <a href="/js/a/switch/default">
                                            <i class="fa fa-check-circle-o"></i> 主导航菜单
                                        </a>
                                    </li>
                                <li class="mt10"></li>-->
                            </ul>
                        </li>
                    </ul>
                </div>

            </nav>

        </header>
        <aside class="main-sidebar">
            <section class="sidebar">

                <div id="leftMenu" data-widget="tree">

                    <!-- UL 开始 外框. -->
                    <ul id="docs" class="sidebar-menu">

                        <!--   <div id="docs"> </div>-->

                    </ul>


                </div>
            </section>
        </aside>
        <div class="content-wrapper">
            <div id="tabpanel">
            </div>
        </div>
    </div>
    <a id="scroll-up" href="#" class="btn btn-sm">
        <i class="fa fa-angle-double-up"></i>
    </a>

    <div class="hide" id="desktopTabPage" data-title="待办" data-url="/WF/TodolistDataGrid.htm">
        <div class="hide" id="desktopTabPage1" data-title="主页" data-url="/Portal/Welcome.htm">

        </div>

        <div class="hide" id="modifyPasswordTip" data-message="">
        </div>

</body>
</html>
